import { request } from '..'

// 发送验证码
export const sendCodeApi = (params: { phone: string | number }) => {
  return request.get({
    url: '/captcha/sent',
    params
  })
}
